home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / EARTHPLO / EP_GLOBA.C < prev    next >
Text File  |  1987-08-15  |  1KB  |  75 lines

  1. /* global data declarations */
  2.  
  3. #include "Quickdraw.h"
  4. #include "ControlMgr.h"
  5. #include "DialogMgr.h"
  6. #include "MemoryMgr.h"
  7.  
  8. Boolean
  9.     hasColorQD;
  10.  
  11. CursHandle
  12.     watchCursorHand;
  13.  
  14. PicHandle
  15.     ePict,ebmPict;
  16.  
  17. Handle
  18.     iconHandle;
  19.  
  20. long
  21.     errno; /*** ???????? ***/
  22.  
  23. int    draw;    /* != 0 if we want to draw the line.  ==0 if move to point */
  24. int    over;    /* != 0 when point is outside visible area */
  25.  
  26. double    xsize,ysize;
  27. double    half_xsize,half_ysize;
  28. int        ixsize,iysize;
  29.  
  30. DialogPtr    optionsDialogPtr;
  31.  
  32. int
  33.     npictButton,        /* options dialog items */
  34.     nbitmapButton,
  35.     nintButton,
  36.     nfpButton,
  37.     nhiddenlinesBox,
  38.     nlnlBox,
  39.     nsquareBox;
  40. long
  41.     backgroundC,
  42.     earthbackgroundC,
  43.     earthoutlineC,
  44.     latC,
  45.     longC,
  46.     landC;
  47.  
  48. Rect
  49.     latSBRect,
  50.     lonSBRect,
  51.     altSBRect,
  52.     latDataRect,
  53.     lonDataRect,
  54.     altDataRect,
  55.     northRect,
  56.     southRect,
  57.     eastRect,
  58.     westRect,
  59.     mileRect,
  60.     kmRect,
  61.     earthWindowRect,
  62.     controlWindowRect,
  63.     iconRect;
  64.  
  65. ControlHandle
  66.     latSB,            /* control window items */
  67.     lonSB,
  68.     altSB,
  69.     northCheck,
  70.     southCheck,
  71.     eastCheck,
  72.     westCheck,
  73.     mileCheck,
  74.     kmCheck;
  75.